package com.example.config;

import com.example.bean.Student1;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {

    @Bean
    public Student1 student2(){
        return new Student1();
    }
}
